//
//  Match.h
//  NJYouthOlypic
//
//  Created by Xiu on 6/27/13.
//  Copyright (c) 2013 Xiu. All rights reserved.
//

#import <Foundation/Foundation.h>

@class MatchCategory;

typedef enum {
  MatchTypeTrain = 0,
  MatchTypeMatch = 1
}MatchType;


@interface Match : NSObject

@property (nonatomic, readwrite) MatchType  type;
@property (nonatomic, copy) NSString*       matchId;
@property (nonatomic, copy) NSString*       title;
@property (nonatomic, copy) NSString*       place;
@property (nonatomic, copy) NSString*       content;
@property (nonatomic, strong) NSDate*       startDate;
@property (nonatomic, strong) NSDate*       endDate;
@property (nonatomic, strong) NSDictionary* info;

+ (NSArray*)defaultMatcheCategories;

- (id)initWithDictionary:(NSDictionary*)matchDict;


@end
